package whr.modules.ask.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import lombok.Data;
import whr.common.validator.DateUtil;

/**
 * 
 * 
 * @author liuli
 * @email 
 * @date 2024-11-01 10:54:10
 */
@Data
@TableName("ask_reply")
public class ReplyEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 请假ID
	 */
	@TableId
	private Long askId;
	/**
	 * 员工id
	 */
	private Long userId;
	/**
	 * 开始时间
	 */
	@JsonDeserialize(using = DateUtil.class)
	private Date beginTime;
	/**
	 * 结束时间
	 */
	@JsonDeserialize(using = DateUtil.class)
	private Date endTime;
	/**
	 * 状态 0待审核 1已审核 
	 */
	private String askStatus;
	/**
	 * 审核人
	 */
	private String askReviewer;
	/**
	 * 审核回复
	 */
	private String askReturn;
	/**
	 * 请假原因
	 */
	private String askReason;
	//不存在数据
	/**
	 * 员工真实姓名
	 */
	@TableField(exist=false)
	private String realName;


}
